object FormCadastrarGondola: TFormCadastrarGondola
  Left = 0
  Top = 0
  BorderIcons = [biSystemMenu]
  Caption = 'Relacionar Produto x Gondola'
  ClientHeight = 692
  ClientWidth = 863
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 8
    Top = 15
    Width = 42
    Height = 13
    Caption = 'Pesquisa'
  end
  object Label2: TLabel
    Left = 8
    Top = 273
    Width = 39
    Height = 13
    Caption = 'Gondola'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
  end
  object DBGrid1: TDBGrid
    Left = 8
    Top = 72
    Width = 840
    Height = 188
    Color = clWhite
    DataSource = DataSourceProduto
    Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
    OnDblClick = DBGrid1DblClick
    OnKeyDown = DBGrid1KeyDown
  end
  object EditPesquisa: TEdit
    Left = 8
    Top = 34
    Width = 345
    Height = 21
    CharCase = ecUpperCase
    TabOrder = 1
    OnChange = EditPesquisaChange
    OnKeyDown = EditPesquisaKeyDown
  end
  object BitBtnAdicionar: TBitBtn
    Left = 397
    Top = 289
    Width = 34
    Height = 29
    Glyph.Data = {
      76060000424D7606000000000000360400002800000018000000180000000100
      080000000000400200009B0E00009B0E00000001000069000000C35B0800FAEB
      B300F4BE2A00EC9F0200F3C77C00E1870000FFFCE400E19A3B00F8CF5900D687
      3C00F8E3A000D0762100EEA82A00F2B53A00F6C54900F9E6A400F9D56400FFF3
      CE00EB9E2200C56B2A00EEB86700D37E2500E19C5200FDDC7500E8930200EAAC
      5F00D78C4B00F2BC6000F5BC4200EA991B00C76B1800F1B92900F9DF9300E494
      2700EEAF4B00CD732F00FCD86A00E7951100EBA54600FDE58500FCEEBE00FFFF
      FF00F7CB4D00F9D16100F5C03C00C1601600EAA64400FADC7200FBEAAC00EC9C
      0F00CE783300EFAC2200F3B63200FFF6D500E28B0000FEE68B00FEE07D00F0AB
      2F00EEA31800E4A25800E9950600F6C34200F4C43D00CE6B2100FFDE6B00F7CB
      6E00FDECAB00F6D67F00F0B45200C9631000EBA10700FFE6A500DE945200F3C2
      6500C9702D00F0AD2700F2B53100ECB36000FFF1C700F8E8B100E58E0000FAD6
      6800F8CC4F00F6C84F00D07A3600EEA60D00FFF8DB00F1B01A00EB970000C364
      1900F4BB3500E79F3D00EFA82300FFEA9500EBA54400EB990B00D4864400FFF5
      CF00F6CC7900DE9D5A00E8961600CA6D2D00FDEBB200CE732900000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000292929292929
      2929292929323229292929292929292929292929292929292929292923150723
      29292929292929292929292929292929292929321507430B2329292929292929
      2929292929292929292932150743020D2D322929292929292929292929292929
      2932155C433E3658052D322929292929292929292929292932155C433E313118
      03052D54292929292929292929292932155A433E5C5C3A5F0546052D1E292929
      29292929292932155A01435A34345C313C055505451E29292929292929321541
      28432A3D3D4C4B3A3118055705451E29292929291A15414F280808533D5A4C5C
      3A5F50055705451E2929296015410135171010080E1C344B3A313C36361F0545
      1E2960154142063717172B082A3D5A395C3A5F5836362C051E1E634941496249
      2120662B52521C344B5C25003F591E1E1E1E2929292929295B0A4E5108520E2C
      4C4B64132929292929292929292929295E0A4E242B082A3D5A4C1D1329292929
      29292929292929292E0F112F512B530E2C341213292929292929292929292929
      260F1117242408533D2C12132929292929292929292929295E0F61382F242B08
      0E3D0C13292929292929292929292929260F3538382F10105353391329292929
      2929292929292929260F35273838242B08524C65292929292929292929292929
      2230353737382F512B080D4A2929292929292929292929292230565D5D273817
      24101C4A292929292929292929292929220F61383838241008080D2329292929
      29292929292929291B4404144D19193B16480954292929292929}
    TabOrder = 2
    OnClick = BitBtnAdicionarClick
  end
  object DBLookupCombo1: TDBLookupCombo
    Left = 8
    Top = 289
    Width = 347
    Height = 28
    LookupSource = DataSourceCadastroGondola
    LookupDisplay = 'NOME'
    LookupField = 'ID_GONDOLA'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -16
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
    TabOrder = 3
    OnChange = DBLookupCombo1Change
  end
  object BitBtnCadastrar: TBitBtn
    Left = 362
    Top = 288
    Width = 33
    Height = 30
    Glyph.Data = {
      76060000424D7606000000000000360400002800000018000000180000000100
      080000000000400200009B0E00009B0E00000001000041000000086B0B004FF4
      A7001CCC61001BB44D0046CE7800FFFFFF001CA8390053E89A001A751C0014D3
      700031C157001E98320012831D006EE5A00052DD86008AFFCE0021BE4A0012DE
      7F00249E3C001BC65A006ED0840019CF6D0022C24B0019E0840019D46F002083
      29006EF0AC006CFFBD001FC65A001DAC3B00278D340021C04F001BD979004CEF
      A300128C23006FD58C002B9E41000B6F0F0021C353001BAE42005CCB7C0070EC
      A60018D471001FCB5E001ED0690052E38D001BDB7B0029963B001ED36D002CBB
      53001BC8640053F2A5001FCD6300128E26004FED9C0052E089006BD684006DEA
      A60072F2AF00128720001CAB3C0010DE73002994310072D28800000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000050505050505
      0505080825252525000005050505050505050505050505050505083F16161616
      1D000505050505050505050505050505050508141F1010100600050505050505
      0505050505050505050508141F1F1F1F3C000505050505050505050505050505
      050508141F1F1F1F3C0005050505050505050505050505050505081426262626
      3C00050505050505050505050505050505050823262626262700050505050505
      0505050505050505050508281C1C1C2627000505050505050505190808080808
      080800281C1C1C1C270000000000000000001E0403030303030303282B2B2B1C
      2727030303030303270C1E361530302C2C2C3434342B2B2B1C1C1C1C1C262626
      260C2F332A2A2A2A302C2C2C3434342B2B2B1C1C1C1C1C1C1F3B2F3320202020
      2030302C2C2C3434342B2B2B2B1C1C1C1F2224013D2020202A2A2A2A302C2C2C
      2C2C0202131313131335241B212136363636072A2A2A303030022D2D2D2D2D0E
      0E0B1212121212121212120D2020201813222222222222222222050505050505
      05050B0D20202020130B050505050505050505050505050505050B392E2E2E2E
      320B050505050505050505050505050505050B291717172E320B050505050505
      050505050505050505050B2917171717150B0505050505050505050505050505
      05050B1A171717172A0B050505050505050505050505050505050B1A11111111
      090B05050505050505050505050505050505121A0F0F0F0F3A12050505050505
      0505050505050505050512310A0A0A0A31120505050505050505}
    TabOrder = 4
    OnClick = BitBtnCadastrarClick
  end
  object DBGrid2: TDBGrid
    Left = 8
    Top = 343
    Width = 841
    Height = 341
    DataSource = DataSourceGondola
    TabOrder = 5
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
  end
  object BitBtnRemover: TBitBtn
    Left = 433
    Top = 289
    Width = 32
    Height = 29
    Glyph.Data = {
      76060000424D7606000000000000360400002800000018000000180000000100
      080000000000400200009B0E00009B0E00000001000079000000DB590400FBD7
      8C00F1B43D00D8912700F7CD7300FFFFFF00EB870B00FDEED800D9933300F7D6
      7300F5C05A00D3741200F9DE9700DF852F00EFA43000FCE7C100D36A0900DE76
      2F00D9933800EF9B2300F8DFAC00F6C56A00F4BC4B00EF842F00DE632F00ED90
      1300E7914300CB521F00E6831700FBE0A300FFF7EF00E8740000F9D78900F695
      2F00F1A13D00E5833800CA4B1900F7C45A00F0B24900EE953800DA6D0000EA9C
      2A00EB8F4100E5701100F8CD7A00DD852200F1972F00F7DBA200FFF4DF00F9E5
      BF00EC965200FCE9C600EC952200F18C2F00F9D58400EA891200E78D3F00F6C6
      6300F1BC5400FCE59D00DD720600FBE9B000F6CE6C00F1A52900F1AB3A00EFAB
      3200F5B74900D36B1900E7912C00D45A1F00F4B74300F2B36000EA842F00FDED
      C100F79E2F00E4780900ED8E1700F7D79400F9D08000E58D2C00F78C3100E490
      4900F9E2B600D67D1C00E36E0C00EA7E2F00FFDE9400FFF9EA00F09D3C00EF8D
      0F00CA511900EE941900F7BE5200F2B14000F5A22F00F1B44400F2A22000F8D4
      7E00EF9F2700F3B74F00E9790300EC870E00EA7F1200FDEBBC00D6781400DB8D
      3000E4722F00DE943A00EC944300E68C1900FCE3A500F0A14300E76C0100FAE3
      A200FAE9C400EB9C5200E88D4D00FCE5B500FEF1CB00FAE3B400000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000000000000000
      0000000000000000000000000000000000000000000000000000050505050505
      6A454545451B1B5A24245A180505050505050505050505052A3F605B5B19374B
      4B3C2811050505050505050505050505481639135B5B5B195965105505050505
      0505050505050505483A4D0E3434344C4C371023050505050505050505050505
      350A4D411313135B5B4C0B2305050505050505050505050527392F5D3F3F3F13
      135B6838050505050505050505050505273E145F0E0E0E0E6213531A05050505
      0505050505050505270452164040400E3F622D51050505050505050505050505
      5861313A5D5D5D40400E03740505050505050505050505052220720A5F5F5F5D
      5D410332050505050505050505050505270C07156363635F5F5F087305050505
      05052E27476F2748340C77150A0A0A63424212430D23236C23552E063A3B2C39
      3E2C3E3939390A0A5C6312694F4F41290048052E660C57307504040404153939
      0A0A26261625162B5505050517700C1E07362C4E2C040415150A0A5C25165455
      0505050505351F0C1E33364E4E4E2C2C15150A3E252B48050505050505053564
      711E33202020616104152C3E1C1705050505050505050535643D1E3320202020
      2C36366D1705050505050505050505052106671E330101364D0C343505050505
      050505050505050505214C49570F0C1D1D623505050505050505050505050505
      05052119765707490E3505050505050505050505050505050505052113303002
      21050505050505050505050505050505050505054A40254A0505050505050505
      050505050505050505050505055E4A0505050505050505050505}
    TabOrder = 6
    OnClick = BitBtnRemoverClick
  end
  object DataSourceProduto: TDataSource
    DataSet = Querylistaprodutos
    Left = 712
    Top = 152
  end
  object DataSourceGondola: TDataSource
    DataSet = Queryprodutogondola
    Left = 504
    Top = 448
  end
  object TableCadastroGondola: TTable
    Active = True
    DatabaseName = 'STANDARD1'
    TableName = 'GONDOLAS.dbf'
    Left = 56
    Top = 281
    object TableCadastroGondolaID_GONDOLA: TStringField
      FieldName = 'ID_GONDOLA'
      Size = 10
    end
    object TableCadastroGondolaNOME: TStringField
      FieldName = 'NOME'
      Size = 100
    end
  end
  object DataSourceCadastroGondola: TDataSource
    DataSet = TableCadastroGondola
    Left = 192
    Top = 281
  end
  object Querylistaprodutos: TQuery
    DatabaseName = 'STANDARD1'
    SQL.Strings = (
      'select * from estoque where '
      'ecodigo like :ecodigo or edescricao like :edescricao or '
      'ecodbarra like :ecodbarra or ecodbarra2 like :ecodbarra2')
    Left = 704
    Top = 88
    ParamData = <
      item
        DataType = ftString
        Name = 'ecodigo'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'edescricao'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'ecodbarra'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'ecodbarra2'
        ParamType = ptUnknown
      end>
    object QuerylistaprodutosECODIGO: TStringField
      DisplayLabel = 'C'#243'digo'
      FieldName = 'ECODIGO'
      Origin = 'STANDARD1.ESTOQUE.ECODIGO'
      Size = 6
    end
    object QuerylistaprodutosEDESCRICAO: TStringField
      DisplayLabel = 'Produto'
      FieldName = 'EDESCRICAO'
      Origin = 'STANDARD1.ESTOQUE.EDESCRICAO'
      Size = 40
    end
    object QuerylistaprodutosECODBARRA: TStringField
      DisplayLabel = 'C'#243'digo de Barras'
      FieldName = 'ECODBARRA'
      Origin = 'STANDARD1.ESTOQUE.ECODBARRA'
      Size = 21
    end
    object QuerylistaprodutosECODBARRA2: TStringField
      DisplayLabel = 'C'#243'digo de Barras 2'
      FieldName = 'ECODBARRA2'
      Origin = 'STANDARD1.ESTOQUE.ECODBARRA2'
      Size = 21
    end
  end
  object QueryVerificaExiste: TQuery
    DatabaseName = 'STANDARD1'
    SQL.Strings = (
      
        'select * from gondola where (id_produto like :id_produto and id_' +
        'gondola = :id_gondola)')
    Left = 416
    Top = 16
    ParamData = <
      item
        DataType = ftString
        Name = 'id_produto'
        ParamType = ptUnknown
      end
      item
        DataType = ftString
        Name = 'id_gondola'
        ParamType = ptUnknown
      end>
    object QueryVerificaExisteID_GONDOLA: TStringField
      FieldName = 'ID_GONDOLA'
      Origin = 'STANDARD1."GONDOLA.DBF".ID_GONDOLA'
      Size = 10
    end
    object QueryVerificaExisteNGONDOLA: TStringField
      FieldName = 'NGONDOLA'
      Origin = 'STANDARD1."GONDOLA.DBF".NGONDOLA'
      Size = 100
    end
    object QueryVerificaExisteID_PRODUTO: TStringField
      FieldName = 'ID_PRODUTO'
      Origin = 'STANDARD1."GONDOLA.DBF".ID_PRODUTO'
      Size = 10
    end
    object QueryVerificaExisteNPRODUTO: TStringField
      FieldName = 'NPRODUTO'
      Origin = 'STANDARD1."GONDOLA.DBF".NPRODUTO'
      Size = 100
    end
  end
  object Queryprodutogondola: TQuery
    Active = True
    AutoRefresh = True
    DatabaseName = 'STANDARD1'
    SQL.Strings = (
      'select * from gondola where id_gondola like :id_gondola')
    Left = 424
    Top = 384
    ParamData = <
      item
        DataType = ftString
        Name = 'id_gondola'
        ParamType = ptUnknown
      end>
    object QueryprodutogondolaID_GONDOLA: TStringField
      FieldName = 'ID_GONDOLA'
      Origin = 'STANDARD1."GONDOLA.DBF".ID_GONDOLA'
      Visible = False
      Size = 10
    end
    object QueryprodutogondolaNGONDOLA: TStringField
      DisplayLabel = 'Gondola'
      DisplayWidth = 50
      FieldName = 'NGONDOLA'
      Origin = 'STANDARD1."GONDOLA.DBF".NGONDOLA'
      Visible = False
      Size = 100
    end
    object QueryprodutogondolaID_PRODUTO: TStringField
      DisplayLabel = 'C'#243'digo'
      FieldName = 'ID_PRODUTO'
      Origin = 'STANDARD1."GONDOLA.DBF".ID_PRODUTO'
      Size = 10
    end
    object QueryprodutogondolaNPRODUTO: TStringField
      DisplayLabel = 'Produto'
      DisplayWidth = 120
      FieldName = 'NPRODUTO'
      Origin = 'STANDARD1."GONDOLA.DBF".NPRODUTO'
      Size = 100
    end
  end
  object TableProdutoGondola: TTable
    DatabaseName = 'STANDARD1'
    TableName = 'GONDOLA.dbf'
    Left = 224
    Top = 464
    object TableProdutoGondolaID_GONDOLA: TStringField
      FieldName = 'ID_GONDOLA'
      Size = 10
    end
    object TableProdutoGondolaNGONDOLA: TStringField
      FieldName = 'NGONDOLA'
      Size = 100
    end
    object TableProdutoGondolaID_PRODUTO: TStringField
      FieldName = 'ID_PRODUTO'
      Size = 10
    end
    object TableProdutoGondolaNPRODUTO: TStringField
      FieldName = 'NPRODUTO'
      Size = 100
    end
  end
end
